package com.da.boot.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @author JokerDa.
 * @date 2021/1/23 23:38
 */
@ResponseStatus(value = HttpStatus.FORBIDDEN, reason = "自定义异常测试")
public class MyException extends RuntimeException {

    public MyException() {

    }

    public MyException(String message) {
        super(message);
    }
}